package com.woniuxy.dao;

import java.util.List;

import com.woniuxy.pojo.Book;

public interface BookMapper {

    int deleteByPrimaryKey(Integer bookId);


	int insert(Book record);

	int insertSelective(Book record);


    Book selectByPrimaryKey(Integer bookId);
    
    List<String> selectByParentName(String name);
    
    List<Book> selectAllByParentName(String name);


	int updateByPrimaryKeySelective(Book record);

	int updateByPrimaryKey(Book record);

	List<String> selectMenu();

	List<String> selectMenu2(String condition);

	List<Book> selectMenuByLevel(int i);

	String selectNameById(Integer bookid);
}